<template>
  <div>
      <el-checkbox-group v-model="checkList">
        <p><el-checkbox label="复选框 A">1</el-checkbox></p>
        <p><el-checkbox label="复选框 B">2</el-checkbox></p>
        <p><el-checkbox label="复选框 C">3</el-checkbox></p>
        <p><el-checkbox label="禁用">4</el-checkbox></p>
        <p><el-checkbox label="选中且禁用">5</el-checkbox></p>
  </el-checkbox-group>
    <el-button @click="ok">确定</el-button>
  </div>
</template>

<script>
export default {
    data(){
        return {
            checkList: ['选中且禁用','复选框 A']
        }
    },
    methods:{
        ok(){
            alert(this.checkList);
        }
    }
}
</script>

<style>

</style>